package com.china.produce;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableAsync;


/**
 * @ClassName
 * @Author niujie
 * @Version
 * @Description
 * @CreateTime 2024/3/23
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.china.produce.mapper"})
@ImportResource(value = "classpath*:bean-dev.xml")
@EnableAsync
public class ProduceApplication {

    public static void main(String[] args) {

        SpringApplication.run(ProduceApplication.class);
    }
}
